package com.example.demo.yjcx;

import org.apache.commons.lang3.StringUtils;

/**
 * @author linjingze
 * @date 2023/12/21 3:34 PM
 */
public enum CurrencyEnum {

    CNY,USD;

    public static boolean isUSD(String currency) {
        return StringUtils.equals(USD.name(), currency);
    }
}
